<div class="page" data-ng-controller="souOrSit">
    <div class="row">
        <div class="col-md-6">
            <section class="panel panel-default">
                <div class="panel-heading"><strong><span class="glyphicon glyphicon-th"></span>&nbsp;&nbsp;&nbsp;&nbsp;来源</strong></div>
                <div class="panel-body">
                    <div class="form-group has-error has-feedback input-lg" style="height:30px;text-align: center;"><label data-ng-hide="isHideEnroll" class="control-label">添 加 失 败</label></div>
                    <form class="form-horizontal form-validation" data-ng-submit="addEnroll()">
                        <div class="form-group">
                            <div class="col-sm-3">
                                <label>来源</label>
                            </div>
                            <div class="col-sm-9">
                                <input  type="text"
                                        class="form-control"
                                        data-ng-model="enrollForm.name"
                                        required
                                >
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-3">
                                <label>备注</label>
                            </div>
                            <div class="col-sm-9">
                                <input type="text"
                                       class="form-control"
                                       data-ng-model="enrollForm.note"
                                       required>
                            </div>
                        </div>
                        <button type="submit"
                                class="btn btn-primary"
                               >保存</button>
                    </form><br/>
                    <table class="table table-bordered table-responsive table-striped">
                        <thead>
                        <tr>
                            <th>来源</th>
                            <th>备注</th>
                            <th style="width: 20%;">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr data-ng-repeat="info in enroll">
                            <td>{{info.name}}</td>
                            <td >{{info.note}}</td>
                            <td><a style="color:#ff9d33;" data-ng-click="updateEnroll(info)" href="">修改</a>
                                &nbsp;&nbsp;&nbsp;&nbsp;<a style="color:#ff9d33;" data-ng-click="delEnroll(info.id)" href="">删除</a></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
        <div class="col-md-6">
            <section class="panel panel-default">
                <div class="panel-heading"><strong><span class="glyphicon glyphicon-th"></span>&nbsp;&nbsp;&nbsp;&nbsp;情况</strong></div>
                <div class="panel-body">
                    <div class="form-group has-error has-feedback input-lg" style="height:30px;text-align: center;"><label data-ng-hide="isHideSitu" class="control-label">添 加 失 败</label></div>
                    <form class="form-horizontal form-validation" data-ng-submit="addSitu()">
                        <div class="form-group">
                            <div class="col-sm-3">
                                <label>情况</label>
                            </div>
                            <div class="col-sm-9">
                                <input  type="text"
                                        class="form-control"
                                        data-ng-model="sitForm.name"
                                        required
                                >
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-3">
                                <label>备注</label>
                            </div>
                            <div class="col-sm-9">
                                <input type="text"
                                       class="form-control"
                                       data-ng-model="sitForm.note"
                                       required>
                            </div>
                        </div>
                        <button type="submit"
                                class="btn btn-success"
                                >保存</button>
                    </form><br/>
                    <table class="table table-bordered table-responsive table-striped">
                        <thead>
                        <tr>
                            <th>情况</th>
                            <th>备注</th>
                            <th style="width: 20%;">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr data-ng-repeat="info in situation">
                            <td>{{info.name}}</td>
                            <td >{{info.note}}</td>
                            <td><a style="color:#ff9d33;" href="" data-ng-click="updateSitu(info)">修改</a>
                            &nbsp;&nbsp;&nbsp;&nbsp;<a style="color:#ff9d33;" href="" data-ng-click="delSitu(info.id)">删除</a></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>
</div>